home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Norton Disk Doctor on Boot.xpl < prev    next >
Text File  |  2003-11-19  |  1KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="5"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Startup\Run on Next Boot"
  5. "NAME"="Run Norton Disk Doctor on Next Boot"
  6. "VERSION"="1.14"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Run NDD on Next Boot"
  9. "DESCRIPTION 1"="Often the Norton Disk Doctor operation is continuously interrupted by other disk/program activity."
  10. "DESCRIPTION 2"="Checking the box will cause NDD to start on Bootup; if NDD is not desired on boot, it may be stopped after boot."
  11. "DESCRIPTION 3"="NOTE: This plugin is designed to run only on the next restart; whenever you want to run NDD on boot, re-apply the plugin.  This is for the 32-bit GUI Norton Disk Doctor, not the command line version." 
  12. "AUTHOR"="CptSiskoX"
  13. "CONTACTURL"="http://members.fortunecity.com/computingx/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16.  
  17.  
  18. sP="HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\"
  19. sV1="Norton Disk Doctor\"
  20. v="Title" 'Stg
  21. v1="Flags" 'Dwrd
  22. v2="Cmd" 'Stg
  23.  
  24.  
  25. Sub Plugin_Initialize 
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  if ElementIndex=1 then
  34.     Call RegWriteValue(sP&v,"NDD at Startup",1)
  35.     Call RegWriteValue(sP&v1,"3",2)
  36.     Call RegWriteValue(sp&sv1&v2,"NDD32",1)
  37.  
  38.     Call Restart()
  39.  end if
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.  
  48.